package com.SunSoft.PhoneRemoteControl;

import android.app.AlertDialog.Builder;
import android.view.View;
import android.view.View.OnClickListener;

final class bh
  implements View.OnClickListener
{
  public final void onClick(View paramView)
  {
    int i = Integer.parseInt(paramView.getTag().toString());
    this.a.T = i;
    if (MainControl.f)
    {
      if (!(this.a.C))
        break label149;
      MainControl.e(this.a)[0] = "DIY遥控信号";
    }
    if (this.a.bq == this.a.T)
      if (this.a.C)
        MainControl.e(this.a)[3] = "取消默认遥控";
    while (true)
    {
      while (true)
      {
        new AlertDialog.Builder(this.a).setTitle(this.a.getString(2131099652)).setIcon(17301659).setSingleChoiceItems(MainControl.e(this.a), 0, new bi(this)).setNegativeButton(this.a.getString(2131099654), null).show();
        return;
        label149: MainControl.e(this.a)[0] = "DIY Remote Signal";
      }
      MainControl.e(this.a)[3] = "Cancel default";
      continue;
      if (this.a.C)
        MainControl.e(this.a)[3] = "设为默认遥控";
      MainControl.e(this.a)[3] = "Set default";
    }
  }
}